.PHONY:all
all: chat_server chat_clinet

chat_server:ServerMain.cpp
	g++ -o $@ $^ -std=c++17 -lpthread
chat_clinet:ChatClient.cpp
	g++ -o $@ $^ -std=c++17 -lpthread
.PHONY:clean
clean:
	rm -f chat_server chat_clinet